import React, { useContext } from "react";
import { AppContext } from "../../App";
const Content = () => {
  const { count } = useContext(AppContext);
  return (
    <div>
      <h2>Content组件</h2>
      <p>count:{count}</p>
    </div>
  );
};
export default Content;
